package cn.wk.services.impl;

import cn.wk.dao.AdminsDao;
import cn.wk.dao.StuinfoDao;
import cn.wk.dao.impl.AdminDaolmpl;
import cn.wk.dao.impl.StuinfoDaolmpl;
import cn.wk.entity.Admins;
import cn.wk.entity.Stuinfo;
import cn.wk.services.AdminsServices;
import cn.wk.services.StuinfoServices;

import java.util.List;

public class StuinfoServicesImpl implements StuinfoServices {
    private StuinfoDao dao=new StuinfoDaolmpl();
    @Override
    public List<Stuinfo> getAllStuinfo(Object...obj) {
        return dao.getAllStuinfo(obj);
    }

    @Override
    public int AddStuinfo(Object... obj) {
        return dao.AddStuinfo(obj);
    }

    @Override
    public int MidffStuinfo(Object... obj) {
        return dao.MidffStuinfo(obj);
    }

    @Override
    public int DelStuinfo(Object... obj) {
        return dao.DelStuinfo(obj);
    }
    @Override
    public int CountSize(){
        return dao.CountSize();
    }

    @Override
    public Stuinfo findStuinfoById(int aid) {
        return dao.findStuinfoById(aid);
    }

    @Override
    public Stuinfo findStuinfoByNo(String no) {
        return dao.findStuinfoByNo(no);
    }


}
